package com.ehome.poct.core.dao.entity.order;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 订单扩展属性
 */
@ApiModel(value = "订单扩展属性")
@Data
@NoArgsConstructor
@TableName(value = "test_order_extends")
public class TestOrderExtendsDO {
    /**
     * 主键ID
     */
    @TableId(value = "test_order_extends_id", type = IdType.INPUT)
    @ApiModelProperty(value = "主键ID")
    private Long testOrderExtendsId;

    /**
     * 订单号
     */
    @TableField(value = "test_order_no")
    @ApiModelProperty(value = "订单号")
    private String testOrderNo;

    /**
     * 订单名称
     */
    @TableField(value = "`name`")
    @ApiModelProperty(value = "订单名称")
    private String name;

    /**
     * 经度
     */
    @TableField(value = "latitude")
    @ApiModelProperty(value = "经度")
    private Double latitude;

    /**
     * 纬度
     */
    @TableField(value = "longitude")
    @ApiModelProperty(value = "纬度")
    private Double longitude;

    /**
     * 简要地址
     */
    @TableField(value = "brief_address")
    @ApiModelProperty(value = "简要地址")
    private String briefAddress;

    /**
     * 详细地址
     */
    @TableField(value = "address_detail")
    @ApiModelProperty(value = "详细地址")
    private String addressDetail;
}